package com.woniuxy.platform.core.service.impl;

import com.woniuxy.platform.core.model.CarGood;
import com.woniuxy.platform.core.mapper.CarGoodMapper;
import com.woniuxy.platform.core.service.CarGoodService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gmx
 * @since 2021-07-12
 */
@Service
public class CarGoodServiceImpl extends ServiceImpl<CarGoodMapper, CarGood> implements CarGoodService {
    @Resource
    private CarGoodMapper carGoodMapper;
    @Override
    public int updateAll(CarGood carGood) {
        return carGoodMapper.updateAll(carGood);
    }

    @Override
    public int insert(CarGood carGood) {
        return carGoodMapper.insert(carGood);
    }
}
